﻿namespace IoCSample
{
    public static class Application
    {
        public static void Main(string[] args)
        {
            var input = "He-llo, wo@rld";

            //old design
            var reportService = new ReportService(input);
            reportService.Trim(input);
            reportService.Clean();
            reportService.Show();

            //new design
            var reportEngine=new StringReportEngine(input);
            reportEngine.Show();
        }
    }
}